package edu.zut.pioneer.sale.impl;

import edu.zut.pioneer.base.service.impl.BaseManagerImpl;
import edu.zut.pioneer.sale.SaleManager;
import edu.zut.pioneer.sale.dao.SaleDao;
import edu.zut.pioneer.sale.domain.Sale;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("saleManager")

public class SaleManagerImpl extends BaseManagerImpl<Sale, Long> implements SaleManager {
    SaleDao saleDao;

    @Autowired
    public void setSaleRep(SaleDao saleDao) {
        this.saleDao = saleDao;
        this.dao = this.saleDao;
    }
}
